<template>
  <div>
    <el-scrollbar>
      <p v-for="item in 20" :key="item">{{ item }}</p>
    </el-scrollbar>
  </div>
</template>

<script setup>
</script>

<style lang="scss" scoped>
.el-scrollbar{
  height: calc(100vh - 400px);
}
p {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  margin: 10px;
  text-align: center;
  border-radius: 4px;
  background: var(--el-color-primary-light-9);
  color: var(--el-color-primary);
}
</style>
